package com.k.kc.util.tree.demo3.test;

public class OrgEntity {
    private String id;
    private String code;
    private String name;
    private String parentCode;
    private Integer sort;

    public OrgEntity() {
    }

    public OrgEntity(String id, String code, String name, String parentCode) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.parentCode = parentCode;
    }
    public OrgEntity(String id, String code, String name, String parentCode,int sort) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.parentCode = parentCode;
        this.sort = sort;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
